package basedemo;

public class TestDriver {
    /**
     *
     * main方法
     */
    public static void main(String[] args) {
        test05();
    }

    /**
     * 运算符：逻辑运算短路
     */
    public static void test05(){
        int iVal1=1;
        int iVal2=2;
        int iVal3=3;
        int iVal4=4;
        boolean isOk=iVal1++>=iVal2--&&iVal3++<=--iVal4;
        System.out.println("isOk="+isOk);
        System.out.println("iVal1="+iVal1);
        System.out.println("iVal2="+iVal2);
        System.out.println("iVal3="+iVal3);
        System.out.println("iVal4="+iVal4);
    }

}
